package com.education.admin.modules.miniprogram.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface StudentNotificationMapper {
    List<Map<String,Object>> list(@Param("studentId") Long studentId,
                                  @Param("studentIds") List<Long> studentIds,
                                  @Param("userType") String userType);

    int markRead(@Param("id") Long id,
                 @Param("studentId") Long studentId,
                 @Param("studentIds") List<Long> studentIds,
                 @Param("userType") String userType);

    int markAll(@Param("studentId") Long studentId,
                @Param("studentIds") List<Long> studentIds,
                @Param("userType") String userType);
}


